﻿using Abp.Dependency;
using DotNetCore.CAP;
using Hicap.QRCodeWarehouse.Core.Models.DbSet;
using Hicap.QRCodeWarehouse.Core.Models.Transfer;
using System;
using System.Linq;
using System.Threading.Tasks;

namespace Hicap.QRCodeWarehouse.Core.Managers
{
    public interface IMonitorManager : ITransientDependency,
         ICapSubscribe
    {
        Task GetMonitorInfos(int type);

        Task<ActionResult> DispatchMonitorFeedback(MonitorFeedback[] data);

        IQueryable<MonitorHistory> GetMonitorInfos(Tuple<DateTime?, DateTime?> timeRange, DateTime? recordTime);

        void FinalFeedBackMessage(ActionResult result);
    }
}